package edu.sctu.practice.class02.Wangpeng.Test8;

/**
 * Created by wp on 2015/11/9.
 */
public class Truck extends Vehicles {
    private float load;

    public Truck(String brand,String color,float load){
        super(brand,color);
        this.load=load;
    }
    void showTruck(){
        super.showInfo();
        System.out.println("载重"+load);
    }
}
